﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xyz.Hrs.Shared.DataContracts.DataObjects;
using Xyz.Hrs.Shared.DataContracts.Criterias;
using System.ServiceModel;

namespace Xyz.Hrs.Shared.ServiceContracts
{
    [ServiceContract]
    public interface IHrsManagementService
    {
        [OperationContract]
        PatientDTO[] SavePatient(PatientDTO[] patient);
        [OperationContract]
        DoctorDTO[] SaveDoctor(DoctorDTO[] doctors);
        [OperationContract]
        HospitalDetailsDTO[] SearchHospital(SearchHospitalCriteria critea);

        //save appointment
        //cancel appointment
        //..

        //save doctor
        //GetMyAppointments

        //
        [OperationContract]
        void DeletePatient(PatientDTO patient);
    }
}
